package com.hyk.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hyk.model.Records;
import com.hyk.service.impl.RecordsServiceImpl;

import java.lang.reflect.InvocationTargetException;

/**
 * @Author: chen
 * @Date: 2021/5/12 10:30 AM
 * @Version 1.0
 */
public interface RecordsService<T extends Records> {

    Page<T> findData(Page<T> page,
                     BaseMapper<T> baseMapper,
                     RecordsServiceImpl.SearchRecords searchRecords
    ) throws InvocationTargetException, NoSuchMethodException, IllegalAccessException, NoSuchFieldException;

}
